<div class="tab-a box w1214">
<div class="tv_jiemu_title">
<div class="up-nav">
          <a class="current" href="{:getlistname($tpl_id[12],'list_url')}"  target="_blank">电视节目表</a>
       </div>
       <div class="today">今天： {php} echo date("Y年m月d日");{/php}&nbsp;&nbsp;&nbsp;&nbsp;{php}$weekarray=array("日","一","二","三","四","五","六"); echo "星期".$weekarray[date("w")];{/php}</div>
       </div>
<div class="tv_jiemu">
{php}$tv_list = zanpian_mysql_tv('field:tv_id,tv_name,tv_cid,tv_letters,tv_pic,tv_data,tv_addtime;stars:5;data:true;limit:6;order:tv_addtime desc');{/php}
 {volist name="tv_list" id="zanpian"}
<div class="tv_jm_list">
<div class="tv_jm_title">
<a title="{$zanpian.tv_name}节目表" href="{$zanpian.tv_readurl}"><img src="{$zanpian.tv_picurl}"/>
		<h2>{$zanpian.tv_name}</h2></a>
</div>
<ul class="tv_list">
{volist name="zanpian.tv_datalist.data" id="list"}
{php}$url=get_vod_url($list['keywords'],1,$zptv['tv_name']);{/php}
{notempty name="list.live"}
<li class="tv_live"><em class="time">{$list.time}</em><em class="name">{notempty name="url"}<a href="{$url}" target="_blank">{$list.name|msubstr=0,15}</a>{else /}{$list.name|msubstr=0,15}{/notempty}</em><i class="iPlaying">正在直播</i></li>
{else /}
<li><em class="time">{$list.time}</em><em class="name">{notempty name="url"}<a href="{$url}" target="_blank">{$list.name|msubstr=0,15}</a>{else /}{$list.name|msubstr=0,15}{/notempty}</em></li>
{/notempty}
 {/volist}
</ul>

</div>
 {/volist} 
</div>
</div>